package com.bgIntlgn.client.entity.jishubu.papaerLibary;

import yuhuibear.poat.annotations.relation.View;
import yuhuibear.poat.object.bean.Bean;

@View(name = "pic_paper_details", sqlToCreate = "select pp.*, d.name as type_name, p.uid as uid, e.name as name, s.spec as spec "
		+ "from pic_papers as pp, papers as p, dictionarys as d, elements as e, element_subversions as s "
		+ "where pp.id = p.paper_id and pp.type = d.id and s.uid = p.uid and e.id = s.element_id order by uid  ")
public class PicPaperDetail implements Bean {

	private String id;

	private Long type;

	private Integer pageNumber;

	private Integer totalCopy;

	private Integer remainCopy;

	private String comment;

	private String typeName;

	private String uid;

	private String name;

	private String spec;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	public Integer getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}

	public Integer getTotalCopy() {
		return totalCopy;
	}

	public void setTotalCopy(Integer totalCopy) {
		this.totalCopy = totalCopy;
	}

	public Integer getRemainCopy() {
		return remainCopy;
	}

	public void setRemainCopy(Integer remainCopy) {
		this.remainCopy = remainCopy;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

}
